home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000217-20000824 / 000302_news@columbia.edu _Mon May 15 14:07:48 2000.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id OAA29372
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Mon, 15 May 2000 14:07:48 -0400 (EDT)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA11352
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 15 May 2000 14:07:47 -0400 (EDT)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id NAA08799
  10.     for kermit.misc@watsun.cc.columbia.edu; Mon, 15 May 2000 13:54:55 -0400 (EDT)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. From: fdc@columbia.edu (Frank da Cruz)
  13. Subject: Re: A missing warning when we type Server command (as opposed connect.)
  14. Date: 15 May 2000 17:54:53 GMT
  15. Organization: Columbia University
  16. Message-ID: <8fpdld$8is$1@newsmaster.cc.columbia.edu>
  17. To: kermit.misc@columbia.edu
  18.  
  19. In article <39200EFC.119D90C5@yk.rim.or.jp>,
  20. Ishikawa  <ishikawa@yk.rim.or.jp> wrote:
  21. : (/tmp/) C-Kermit>server
  22. : ...
  23. : ?Carrier required but not detected
  24. : (/tmp/) C-Kermit>set carrier-watch off
  25. : (/tmp/) C-Kermit>server
  26. : Entering server mode on /dev/ttya
  27. : Type Ctrl-C to quit.
  28. : --- end quote ---
  29. : Please note the "?Carrier required but not detected." message.
  30. : I am not sure why this appears.
  31. : If I don't issue set carrier-watch off (for this direct connection using
  32. : cross cable), I won't be able to run "server" due to this error.
  33. : This is why I thought a big letter warning (using some banner lines like
  34. : **********************, etc.. ) is a good idea.
  35. :
  36. OK, now I understand.  You want a "hint" when this happens, but we currently
  37. do not provide one -- just a one-line message.
  38.  
  39. In any case, my previous answer was partially wrong -- you DO need SET
  40. CARRIER-WATCH OFF prior to server if there is no connection AND if the
  41. underlying platform supports application-level modem-signal testing.
  42.  
  43. But in any case, the normal way to set up a server so so you can dial
  44. into it later (with a modem is):
  45.  
  46. : >   set line /dev/cua
  47. : >   set speed 57600
  48. : >   set flow rts/cts
  49. : >   answer                ; Wait for a call to come in
  50. : >   if success server     ; Only then, enter server mode
  51. : The above scenario makes sense except that
  52. : my solaris PC won't start server without set carrier-watch off.
  53. : Am I missing something?
  54. If it's a direct connection with proper modem signals (i.e. DTR and CD
  55. cross-connected):
  56.  
  57.   set line /dev/cua
  58.   set speed 57600
  59.   set flow rts/cts
  60.   wait 9999 cd          ; Wait for Carrier Detect
  61.   if success server     ; Only then, enter server mode
  62.  
  63. Finally, for a direct connection that does not have DTR and CD crossed:
  64.  
  65.   set carrier-watch off
  66.   set line /dev/cua
  67.   set speed 57600
  68.   set flow rts/cts
  69.   server
  70.  
  71. : Aha, I noticed that /dev/cua is a modem line where as I used
  72. : direct connection serial port (without modem control).
  73. It was only an illustration.  Use the appropriate device name.
  74.  
  75. - Frank